#@edit()
#define content()
<!-- form start -->
<form class="form-horizontal" action="/authrole/doSave" method="post">
    <div class="box-body">
        <div class="form-group">
            <label class="col-sm-2 control-label">角色名称</label>
            <div class="col-sm-10">
                <input type="text" name="title" class="form-control input-sm" placeholder="角色名称" required="required" value="#(itemData.title??)" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">角色代码</label>
            <div class="col-sm-10">
                <input type="text" name="code" class="form-control input-sm" placeholder="角色代码" value="#(itemData.code??)" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">备注信息</label>
            <div class="col-sm-10">
                <input type="text" name="remark" class="form-control input-sm"  placeholder="备注信息" size="79" value="#(itemData.remark??)" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">状态</label>
            <div class="col-sm-10">
                <label class="radio-inline"><input type="radio" name="status" value="1" checked="checked" data-value="#(itemData.user_status??)"> 启用</label>
                <label class="radio-inline"><input type="radio" name="status" value="0" data-value="#(itemData.user_status??)"> 禁用</label>
            </div>
        </div>
    </div>
    <!-- /.box-body -->
    <div class="box-footer">
    #if((itemData.id??0) > 0)
    <input type="hidden" name="id" value="#(itemData.id??)" />
    #end
        <button type="button" class="btn btn-default xsui-btn-close-dialog">取消</button>
        <button type="submit" class="btn btn-primary pull-right">保存</button>
    </div>
    <!-- /.box-footer -->
</form>
#end